package com.guigu.lzw.service.impl;

import com.guigu.lzw.service.InterveneService;
import com.guigu.mapper.GyfaMapper;
import com.guigu.mapper.YdfaMapper;
import com.guigu.mapper.YsfaMapper;
import com.guigu.pojo.Gyfa;
import com.guigu.pojo.Ydfa;
import com.guigu.pojo.Ysfa;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InterveneServiceImpl implements InterveneService {
    @Autowired
    GyfaMapper gm;
    @Autowired
    YdfaMapper ydm;
    @Autowired
    YsfaMapper ysm;
    public Gyfa query(Gyfa gyfa) {
        return gm.query(gyfa);
    }

    public List<Ydfa> query(Ydfa ydfa) {
        return ydm.query(ydfa);
    }

    public List<Ysfa> query(Ysfa ysfa) {
        return ysm.query(ysfa);
    }

}
